import { MapLayerSelectT } from '@/typings/global';
import { request } from '@/utils/axios/request';

export async function getQueryMapLayer(query: MapLayerSelectT) {
  const deleteCode = await request({
    url: '/map',
    method: 'post',
    data: query // 必须是对象类型的
  });
  return deleteCode.data;
}
